package HLLib.platform;

import HLCode.HLClass;
import HLCode.HLClassManager;
import HLCode.HLClassManager_H;
import HLCode.HLLibObject;
import HLCode.HLObject;
import HLLib.base.HLString;

public class HL91PayInfo extends HLLibObject {
    public HLClass GetClass(HLClassManager classManager) {
        return classManager.GetLibClass(HLClassManager_H.CLASS_GROUP_TYPE_LIB_PLATFORM, HLClassManager_H.LIB_CLASS_PLATFORM_91PayInfo);
    }

    public int GetInt(int index) {
        return productCount;
    }

    public void SetInt(int index, int value) {
        productCount = value;
    }

    public HLObject GetObject(int index) {
        switch (index) {
        case 0: {
            return productId;
        }
        case 1: {
            return productName;
        }
        case 2: {
            return cooOrderSerial;
        }
        case 3: {
            return productPrice;
        }
        case 4: {
            return productOrignalPrice;
        }
        case 5: {
            return payDescription;
        }
        }
        return null;
    }

    public void SetObject(int index, HLObject value) {
        switch (index) {
        case 0: {
            productId = (HLString) value;
            return;
        }
        case 1: {
            productName = (HLString) value;
            return;
        }
        case 2: {
            cooOrderSerial = (HLString) value;
            return;
        }
        case 3: {
            productPrice = (HLString) value;
            return;
        }
        case 4: {
            productOrignalPrice = (HLString) value;
            return;
        }
        case 5: {
            payDescription = (HLString) value;
            return;
        }
        }
    }

    public HLString productId;

    public HLString productName;

    public HLString cooOrderSerial;

    public HLString productPrice;

    public HLString productOrignalPrice;

    public int productCount;

    public HLString payDescription;
}
